import  configparser
config = configparser.ConfigParser()
file = 'appsetting.ini'
config.read(file)
ip =  config.get('appsetting','ip')
port =  config.get('appsetting','port')
